Skip to content

fix: addBasicStyle option set to false should prevent any basic styles#53

Open
lexoyo wants to merge 1 commit intoGrapesJS:masterfrom
lexoyo:master
Open

fix: addBasicStyle option set to false should prevent any basic styles#53
lexoyo wants to merge 1 commit intoGrapesJS:masterfrom
lexoyo:master

Conversation

@lexoyo
Copy link

@lexoyo lexoyo commented Mar 4, 2026

Hello @artf
It's been a long time i have a workaround in silex for this, hopefully you'll find the time to review it

When addBasicStyle is set to false, only the <style> tags in column blocks were removed

The inline style properties on text, link, image, video, and map blocks were always applied regardless of the setting

This fix makes addBasicStyle: false also omit inline styles from those blocks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant